#ifndef DASHBOARDUI_ADDPRESCRIPTION_H
#define DASHBOARDUI_ADDPRESCRIPTION_H

#include "FieldValidator.h"

#include <QWidget>

namespace Ui {
class DashboardUI_AddPrescription;
}

class DashboardUI_AddPrescription : public QWidget
{
    Q_OBJECT
    
public:
    explicit DashboardUI_AddPrescription(QWidget *parent = 0);
    ~DashboardUI_AddPrescription();

signals:
    void prescriptionsChanged();
    
private slots:
    void on_submitButton_clicked();

private:
    void clearFields();

    Ui::DashboardUI_AddPrescription *ui;
    FieldValidator validator;
};

#endif // DASHBOARDUI_ADDPRESCRIPTION_H
